package com.erms.lab.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.erms.common.annotation.Excel;
import com.erms.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 承办培训情况对象 sys_train
 * 
 * @author guo
 * @date 2020-03-22
 */
public class SysTrain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long traId;

    /** 培训项目名称 */
    @Excel(name = "培训项目名称")
    private String traName;

    /** 培训人数 */
    @Excel(name = "培训人数")
    private String traNumber;

    /** 负责人 */
    @Excel(name = "负责人")
    private String traCharge;

    /** 职称 */
    @Excel(name = "职称")
    private String traTitle;

    /** 开始时间 */
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date traStart;

    /** 结束时间 */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date traEnd;

    /** 类型 */
    @Excel(name = "类型")
    private String traType;

    /** 总经费（万元） */
    @Excel(name = "总经费", readConverterExp = "万=元")
    private Long traFunds;

    public void setTraId(Long traId) 
    {
        this.traId = traId;
    }

    public Long getTraId() 
    {
        return traId;
    }
    public void setTraName(String traName) 
    {
        this.traName = traName;
    }

    public String getTraName() 
    {
        return traName;
    }
    public void setTraNumber(String traNumber) 
    {
        this.traNumber = traNumber;
    }

    public String getTraNumber() 
    {
        return traNumber;
    }
    public void setTraCharge(String traCharge) 
    {
        this.traCharge = traCharge;
    }

    public String getTraCharge() 
    {
        return traCharge;
    }
    public void setTraTitle(String traTitle) 
    {
        this.traTitle = traTitle;
    }

    public String getTraTitle() 
    {
        return traTitle;
    }
    public void setTraStart(Date traStart) 
    {
        this.traStart = traStart;
    }

    public Date getTraStart() 
    {
        return traStart;
    }
    public void setTraEnd(Date traEnd) 
    {
        this.traEnd = traEnd;
    }

    public Date getTraEnd() 
    {
        return traEnd;
    }
    public void setTraType(String traType) 
    {
        this.traType = traType;
    }

    public String getTraType() 
    {
        return traType;
    }
    public void setTraFunds(Long traFunds) 
    {
        this.traFunds = traFunds;
    }

    public Long getTraFunds() 
    {
        return traFunds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("traId", getTraId())
            .append("traName", getTraName())
            .append("traNumber", getTraNumber())
            .append("traCharge", getTraCharge())
            .append("traTitle", getTraTitle())
            .append("traStart", getTraStart())
            .append("traEnd", getTraEnd())
            .append("traType", getTraType())
            .append("traFunds", getTraFunds())
            .toString();
    }
}
